package com.yh.patterns.factory.static_factory;


/**
 * @Auther:云尚学Java
 */
public class Client {
    public static void main(String[] args) {
        //1.创建咖啡店类
        CoffeeStore store=new CoffeeStore();
        Coffee coffee = store.orderCoffee("latte");
        System.out.println(coffee.getName());
    }
}
